# coding = utf-8
from django.urls import path
from rest_framework.routers import DefaultRouter
from .views import OfficeViewSet, OfficeInfoViewSet, OfficeFirstViewSet

router = DefaultRouter()
router.register(r'office', OfficeViewSet, basename="office")
router.register(r'office_info', OfficeInfoViewSet, basename="office-info")


urlpatterns = [
    path('office_one/', OfficeFirstViewSet.as_view(), name="api-office-first"),
]

urlpatterns += router.urls